home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PPPPUUUUTTTTPPPPWWWWEEEENNNNTTTT((((3333CCCC)))) PPPPUUUUTTTTPPPPWWWWEEEENNNNTTTT((((3333CCCC))))
-
-
-
- NNNNAAAAMMMMEEEE
- putpwent - write password file entry
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ppppwwwwdddd....hhhh>>>>
-
- iiiinnnntttt ppppuuuuttttppppwwwweeeennnntttt ((((ccccoooonnnnsssstttt ssssttttrrrruuuucccctttt ppppaaaasssssssswwwwdddd ****pppp,,,, FFFFIIIILLLLEEEE ****ffff))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _p_u_t_p_w_e_n_t is the inverse of _g_e_t_p_w_e_n_t(3C). Given a pointer to a passwd
- structure created by _g_e_t_p_w_e_n_t (or _g_e_t_p_w_u_i_d or _g_e_t_p_w_n_a_m), _p_u_t_p_w_e_n_t writes
- a line on the stream _f, which matches the format of ////eeeettttcccc////ppppaaaasssssssswwwwdddd.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- getpwent(3C), getspent(3C), putspent(3C).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _p_u_t_p_w_e_n_t returns non-zero if an error was detected during its operation,
- otherwise zero.
-
- WWWWAAAARRRRNNNNIIIINNNNGGGGSSSS
- The above routine uses <<<<ssssttttddddiiiioooo....hhhh>>>>, which causes it to increase the size of
- programs, not otherwise using standard I/O, more than might be expected.
-
- This call is only useful in a loop with _g_e_t_p_w_e_n_t(3C). If NIS
- interpretation of '+' fields is not disabled, the entire contents of the
- NIS passwd map will then end up in /_e_t_c/_p_a_s_s_w_d. This is most likely not
- the desired effect. See the __g_e_t_p_w_n_e_t__n_o__y_p and __g_e_t_p_w_e_n_t__n_o__s_h_a_d_o_w
- variables in _g_e_t_p_w_e_n_t(3C) for a solution.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-